package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/21
 * Time: 11:31
 * Description:
 */
@Data
@TableName("t_sys_agreement")
@ApiModel(value = "TSysAgreementEntity", description = "数据库-广告表")
public class TSysAgreementEntity extends AbstractPageEntity {
    @TableId(value = "agreement_id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String agreementId;

    @TableField("name")
    @ApiModelProperty(value = "协议书名称", dataType = "String", notes = "协议书名称")
    private String name;

    @TableField("agreement_context")
    @ApiModelProperty(value = "协议书文本html", dataType = "String", notes = "协议书文本html")
    private String agreementContext;

    @TableField("update_time")
    @ApiModelProperty(value = "更新时间", dataType = "Date", notes = "更新时间")
    private Date updateTime;
}
